<!-- ... existing code ... -->
<view class="nav">
    <view class="scrollable-nav-tabs">
        <view v-for="(tab, index) in navTabs" :key="index" :class="['nav-tab', { active: currentIndex === index }]" @click="changeTab(index)">
            {{ tab }}
        </view>
    </view>
</view>
<!-- ... existing code ... -->